<?php

/**
 * Description of PersonPersonClass
 *
 * @author adhamhelal
 */
class MeetingInfoPanel extends Qpanel {
	protected $mctMeeting;
        //Controls
        protected $lblId;
        protected $lblMeetingCreateBy;
	protected $lblMeetingCreateDate;
	protected $lblMeetingUpdateBy;
	protected $lblMeetingUpdateDate;
            //Template
        protected $strTemplate;

       public function __construct($objParentObject, $mctMeeting, $strControlId = null) {
                // Call the Parent
                try {
                        parent::__construct($objParentObject, $strControlId);
                } catch (QCallerException $objExc) {
                        $objExc->IncrementOffset();
                        throw $objExc;
                }

                // Setup Template
                $this->strTemplate = __DOCROOT__.__PERSON__ .  '/tpl/qpanel.tpl.php';
                // Set the Person Meta Conrol
                $this->mctMeeting = $mctMeeting;



                // Call MetaControl's methods to create qcontrols data fields
                $this->lblId = $this->mctMeeting->lblId_Create();
                $this->lblId->Name = QApplication::Translate("Meeting: Id");
                $this->lblId->SetParentControl($this);

                $objMeeting = $this->mctMeeting->__get('Meeting');



                $this->lblMeetingCreateBy = $this->mctMeeting->lblCreateBy_Create();
                $this->lblMeetingCreateBy->Name = QApplication::Translate("Meeting: Created By");
                $this->lblMeetingCreateBy ->SetParentControl($this);

                $this->lblMeetingCreateDate = $this->mctMeeting->lblCreateDate_Create(null,QDateTime::FormatDisplayDateTimeFull);
                $this->lblMeetingCreateDate->Name = QApplication::Translate("Meeting: Created Date");
                $this->lblMeetingCreateDate->SetParentControl($this);

                $this->lblMeetingUpdateBy = $this->mctMeeting->lblUpdateBy_Create();
                $this->lblMeetingUpdateBy->Name = QApplication::Translate("Meeting: Update By");
                $this->lblMeetingUpdateBy->SetParentControl($this);

                $this->lblMeetingUpdateDate = $this->mctMeeting->lblUpdateDate_Create(null,QDateTime::FormatDisplayDateTimeFull );
                $this->lblMeetingUpdateDate->Name = QApplication::Translate("Meeting: Update Date");
                $this->lblMeetingUpdateDate->SetParentControl($this);


    }


}
?>


